{% extends "main/base.html" %}
{% load i18n %}

{% block breadcrumbs %}
<div class="breadcrumbs"><a href="/">{% trans 'Home' %}</a> &rsaquo;
Registration &rsaquo;
</div>
{% endblock %}

{% block content %}
<h1>OCMS User Registration</h1>
<form action="/accounts/register/" method="post">
{% csrf_token %}
<table>
    {% for field in form %}
    <tr>
        <div class="fieldWrapper">
            <td>{{ field.errors }}</td>
            <td>{{ field.label_tag }}:</td>
            <td>{{ field }}</td>
            <td>{{ field.help_text }}</td>
        </div>
    </tr>
    {% endfor %}
</table>
    <p><input type="submit" value="Register" /></p>
</form>

{% endblock %}